package com.hao.cloudadmin.modules.quartz.feignclients;

import com.hao.cloudadmin.aop.log.Log;
import com.hao.cloudadmin.modules.quartz.domain.QuartzJob;
import com.hao.cloudadmin.modules.quartz.feignclients.impl.QuartzClientImpl;
import com.hao.cloudadmin.modules.quartz.service.dto.JobQueryCriteria;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.data.domain.Pageable;
import org.springframework.http.ResponseEntity;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author haozw
 * @date 2020-01-01
 */
@FeignClient(value = "cloudadmin-quartz",fallback = QuartzClientImpl.class)
public interface QuartzClient {
    @Log("openfeignTest")
    @GetMapping(value = "/quartz/job/openfeignTest")
    void openfeignTest();

}
